package com.ybkj.o2o.mc.entity;

import com.ybkj.o2o.mc.common.DateTimeField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.io.Serializable;
import java.util.Date;


public class PassengerGradeAndArea implements Serializable {

  private Long id;

  private Long gradeId;

  private String gradeName;  //级别名称

  private Long tzAreaId;//趟租收费

  private Long brzAreaId;//半日租收费

  private Long rzAreaId;//日租收费

  private Long jjAreaId;//接机收费

  private Long sjAreaId;//送机收费

  private Long jzAreaId;//接站收费

  private Long szAreaId;//送站收费

  private Long carTypeId;//车型id

  private String appKey; //用于区别系统

  @JsonSerialize(using = DateTimeField.class)
  private Date created;

  @JsonSerialize(using = DateTimeField.class)
  private Date updated;

  private static final long serialVersionUID = 1L;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getGradeName() {
    return gradeName;
  }

  public void setGradeName(String gradeName) {
    this.gradeName = gradeName;
  }

  public Long getGradeId() {
    return gradeId;
  }

  public void setGradeId(Long gradeId) {
    this.gradeId = gradeId;
  }

  public String getAppKey() {
    return appKey;
  }

  public void setAppKey(String appKey) {
    this.appKey = appKey == null ? null : appKey.trim();
  }

  public Date getCreated() {
    return created;
  }

  public void setCreated(Date created) {
    this.created = created;
  }

  public Date getUpdated() {
    return updated;
  }

  public void setUpdated(Date updated) {
    this.updated = updated;
  }

  public Long getTzAreaId() {
    return tzAreaId;
  }

  public void setTzAreaId(Long tzAreaId) {
    this.tzAreaId = tzAreaId;
  }

  public Long getBrzAreaId() {
    return brzAreaId;
  }

  public void setBrzAreaId(Long brzAreaId) {
    this.brzAreaId = brzAreaId;
  }

  public Long getRzAreaId() {
    return rzAreaId;
  }

  public void setRzAreaId(Long rzAreaId) {
    this.rzAreaId = rzAreaId;
  }

  public Long getJjAreaId() {
    return jjAreaId;
  }

  public void setJjAreaId(Long jjAreaId) {
    this.jjAreaId = jjAreaId;
  }

  public Long getSjAreaId() {
    return sjAreaId;
  }

  public void setSjAreaId(Long sjAreaId) {
    this.sjAreaId = sjAreaId;
  }

  public Long getJzAreaId() {
    return jzAreaId;
  }

  public void setJzAreaId(Long jzAreaId) {
    this.jzAreaId = jzAreaId;
  }

  public Long getSzAreaId() {
    return szAreaId;
  }

  public void setSzAreaId(Long szAreaId) {
    this.szAreaId = szAreaId;
  }

  public Long getCarTypeId() {
    return carTypeId;
  }

  public void setCarTypeId(Long carTypeId) {
    this.carTypeId = carTypeId;
  }
}
